package com.javasm.dao;

import com.javasm.entity.OrderComment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 陪玩客户评论(CustomerOrderComment)表数据库访问层
 *
 */
public interface OrderCommentDao {
    List<OrderComment> listAllComments(@Param("inputComment") OrderComment inputComment, @Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize, @Param("sort") String sort );
    List<OrderComment> listComments(@Param("inputComment") OrderComment inputComment, @Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize, @Param("sort") String sort );
    Integer countAllComments(@Param("inputComment") OrderComment inputComment);
    Integer countComments(@Param("inputComment") OrderComment inputComment);
    Integer editCommentStatus(OrderComment inputComment);
    Integer deleteComment(OrderComment inputComment);
}

